import 'package:library_base/entities/generated/json/base/json_field.dart';
import 'package:library_base/entities/generated/json/workbench_entity.g.dart';
import 'dart:convert';

@JsonSerializable()
class WorkbenchEntity {
  late int purchaseCount;
  late int inquiredCount;
  late int warehousedCount;
  late int deliveredCount;
  late int unpaidCount;

  WorkbenchEntity();

  factory WorkbenchEntity.fromJson(Map<String, dynamic> json) => $WorkbenchEntityFromJson(json);

  Map<String, dynamic> toJson() => $WorkbenchEntityToJson(this);

  @override
  String toString() => json.encode(this);
}
